package com.shanyu.nicefish.service;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Component("VIP")
public class VIPStrategy implements Strategy {
    @Override
    public BigDecimal calcPrice() {
        System.out.println("VIP");
        return new BigDecimal("80");
    }
}
